<?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource="../../tmp/docLibraryExample.xml" -->
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8"/>
<xsl:template match="/" name="docLibrary">
<table width="100%">
  <caption title="{form/widgets/tLib/value/description}">
    Document library: 
    <xsl:value-of select="form/widgets/tLib/library/description"/>
  </caption>
  <tr>
    <th scope="col">name</th>
    <th scope="col">description</th>
    <th scope="col">type</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
  </tr>
  <xsl:for-each select="form/widgets/tLib/documents/value">
    <tr>
      <td><xsl:value-of select="id"/> . <xsl:value-of select="@key"/> </td>
      <td><xsl:value-of select="description"/></td>
      <td><xsl:value-of select="type"/></td>
      <td><a target="_blank" href="index.php?sys_app_page=download_file.php&amp;downliad_id={id}">download</a></td>
      <td><a href="index.php?__form=docEditExample&amp;id={id}&amp;__noload=true">edit</a></td>
    </tr>
  </xsl:for-each>
</table>

</xsl:template>
</xsl:stylesheet>